#pragma once

#ifndef DOXYGEN_SHOULD_SKIP_THIS
extern "C"
{
  struct _xmlParserCtxt;
}
#endif //DOXYGEN_SHOULD_SKIP_THIS

namespace Xml
{
  class ParserSettings
  {
  public:
    ParserSettings()
    {
      validate = false;
      substitute_entities = true;
    }

    bool validate;
    bool substitute_entities;

    // \internal
    void initialize_context(_xmlParserCtxt *ctxt) const;
  };
}
